We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Once we have everything properly defined with json schema, provide a decorator to automatically validate request(and maybe response) payloads.
Right now, you can do something like this:
from guillotina.utils import get_schema_validator validator = get_schema_validator('MyType') validator.validate(await request.json())
and it works; however, let's make a decorator to able to do this automatically for what is defined on an endpoint.
The text was updated successfully, but these errors were encountered:
ref: #544
Closing. Will open another for response body
Sorry, something went wrong.
karannaoh
No branches or pull requests
Once we have everything properly defined with json schema, provide a decorator to automatically validate request(and maybe response) payloads.
Right now, you can do something like this:
and it works; however, let's make a decorator to able to do this automatically for what is defined on an endpoint.
The text was updated successfully, but these errors were encountered: